package server.business.login;

import server.business.login.handler.ChangeTableHandler;
import server.business.login.handler.CreateAccountHandler;
import server.business.login.handler.EnterTableHandler;
import server.business.login.handler.GmOptionalHandler;
import server.business.login.handler.LoginHandler;
import server.business.login.handler.QuiteGameHandler;
import server.business.login.handler.RankingListHandler;
import server.business.login.handler.ViewOtherInfoHandler;
import server.messageId.C2SMessageId;

import com.core.AbsHandlerRegistration;

/**
 * 登陆模块注册
 * @author King
 *
 */
public class LoginHandlerRegistration extends AbsHandlerRegistration
{
	@Override
	public void registerHandler()
	{
		register(C2SMessageId.Login.CREATE_ACCOUNT, new CreateAccountHandler());
		register(C2SMessageId.Login.LOGIN_REQ, new LoginHandler());
		register(C2SMessageId.Login.ENTER_TABLE, new EnterTableHandler());
		register(C2SMessageId.Login.CHANGE_TABLE, new ChangeTableHandler());
		register(C2SMessageId.Login.VIEW_OTHER_INFO, new ViewOtherInfoHandler());
		register(C2SMessageId.Login.GM_OPTIONAL, new GmOptionalHandler());
		register(C2SMessageId.Login.RANKING_LIST_REQ, new RankingListHandler());
		register(C2SMessageId.Login.QUITE_GAME, new QuiteGameHandler());
		
	}
}
